package mylist;

public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.add(31);
        myArrayList.add(432);
        myArrayList.add(-2,23);
        myArrayList.add(21);
        myArrayList.add(1,231);
        myArrayList.display();

    }
}
